Learn R Programming

tolBasis (version 1.0)

Polyn Coefficents: Polyn Coefficients

Description

Returns a Polyn coefficient

Usage

"["(p, index, ..., degree)

Arguments

p
a Polyn objecy
index
index of the element
degree
degree of an element of the Polyn
...
unused arguments

Value

Returns the coefficient of the selected index or degree.

Examples

Run this code
p <- (1+B)^2
p[1]
p[degree=2]

Run the code above in your browser using DataLab